package com.css.fxfzysx.modules.vabStructure.service;

import com.css.fxfzysx.base.response.RestResponse;
import com.css.fxfzysx.modules.cztDataMange.entity.CpvAnalysisEntity;
import com.css.fxfzysx.modules.cztDataMange.entity.CpvInfoEntity;
import com.css.fxfzysx.modules.vabStructure.param.CpvInfoParam;
import com.css.fxfzysx.modules.vabStructure.param.CustomVulnerabilityParam;
import com.css.fxfzysx.modules.vabStructure.vo.CpvInfoVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface PsvAnalysisService {
    RestResponse uploadPsaData(MultipartFile file,String type);

    RestResponse countCpvAnalysis(CpvInfoParam param);

    RestResponse saveCpvInfoEntity(CpvInfoParam param);

    RestResponse saveCpvAnalysis(List<CpvAnalysisEntity> list);

    RestResponse saveCpvResultEntity(List<Map<String,Object>> mapList);

    RestResponse getById(String id);

    RestResponse queryCpvAnalysis(CpvInfoEntity cpvInfoEntity, HttpServletRequest request);

    RestResponse uploadMcData(MultipartFile file);

    RestResponse moveBasicLibrary(CustomVulnerabilityParam param);

    void exportExcel(HttpServletResponse response, String cpviId);

    RestResponse importSeismicTimeHistory(MultipartFile file);
}
